/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.team1662.subsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.team1662.RobotMap;

/**
 *
 * @author programmer
 */
public class Shifting extends Subsystem {
    
    private Solenoid shifter1;
    private Solenoid shifter2;
    
    public Shifting(){
        shifter1 = new Solenoid(RobotMap.shiftSol1);
        shifter2 = new Solenoid(RobotMap.shiftSol2);
    }
    
    public void initDefaultCommand(){
        shifter1.set(true);
        shifter2.set(false);
    }
    
    public void fast(){
        shifter1.set(false);
        shifter2.set(true);
    }
    
    public void slow(){
        shifter1.set(true);
        shifter2.set(false);
    }
    
    public boolean isRunning(){
        return true;
    }
    
    
    
    
    
    
    
    
}
